package cn.hls.dao;

import java.util.List;

import cn.hls.entity.ShipOrderGoods;

/**
  *@fileName: ShipOrderGoods.java
  *@package: cn.hls.dao
　*@Description: 电子运单中间表数据操作接口类
　*@author: yinghui.zhang
　*@email: uuhui@163.com
  *@date: 2016年6月19日
 *
 */
public interface ShipOrderGoodsDao extends BaseDao<ShipOrderGoods> {
	/**
	 * 获取电子运单中间表数据
	 * @param entity　查询对象
	 * @return List<ShipOrderGoods>
	 * @throws Exception
	 */
	List<ShipOrderGoods> loadShipOrderGoodsList(ShipOrderGoods entity)throws Exception;
	/**
	 * 根据运单编号集合及运送的商品集合查询是否存在相同的数据
	 * @param shipOrderIdList 运单编号信
	 * @param goodsList 运送的商品集合
	 * @return true/false
	 * @throws Exception
	 */
	boolean exists(List<Long>shipOrderIdList,List<ShipOrderGoods>goodsList	)throws Exception;
}
